package com.bootdo.system.domain;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-06-01 13:51:39
 */
public class DealSlideshowDO implements Serializable {
	private static final long serialVersionUID = 1L;

	// 主键
	private Integer id;
	// 轮播图地址
	private String imgUrl;
	// 排序
	private Integer sort;
	// 外键
	private String userId;
	// 添加时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date addTime;

	/**
	 * 设置：主键
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取：主键
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * 设置：轮播图地址
	 */
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	/**
	 * 获取：轮播图地址
	 */
	public String getImgUrl() {
		return imgUrl;
	}

	/**
	 * 设置：排序
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	/**
	 * 获取：排序
	 */
	public Integer getSort() {
		return sort;
	}

	/**
	 * 设置：外键
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}

	/**
	 * 获取：外键
	 */
	public String getUserId() {
		return userId;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	
	
}
